package cn.itwen.star.graph.core.service;

import cn.itwen.star.graph.core.dto.request.Text2ImageReqDto;
import cn.itwen.star.graph.core.dto.respone.CanelTaskResDto;
import cn.itwen.star.graph.core.dto.respone.Text2ImageResDto;
import freemarker.template.TemplateException;

import java.io.IOException;

public interface Text2ImageService {
    Text2ImageResDto propmt(Text2ImageReqDto text2ImageReqDto) throws TemplateException, IOException;

    String canel(CanelTaskResDto canelTaskResDto);

    Long proprity(CanelTaskResDto canelTaskResDto);
}